package com.jk.db.service;

import com.jk.common.base.IBaseService;
import com.jk.common.exception.KqException;
import com.jk.db.entity.DbFeedback;
import com.jk.sys.entity.User;
import org.activiti.engine.runtime.ProcessInstance;

import javax.servlet.http.HttpServletRequest;
import java.util.HashMap;
import java.util.List;
import java.util.Map;


/**
 * 督查督办情况反馈表服务接口层
 *
 * @author 刘杭
 * @version 1.0
 * @date 2020年06月08日
 */
public interface IDbFeedbackService extends IBaseService<DbFeedback> {

    ProcessInstance submitApply(DbFeedback dbFeedback, String applyUserId, String key, HashMap<Object, Object> objectObjectHashMap) throws KqException;

    List<DbFeedback> findTodoTasks(String username, Map map);

    void approval(Integer id, User openUser, HttpServletRequest request);
}
